package com.hbnu.aop;

import org.springframework.stereotype.Component;

@Component
public class UserService {
    public void register(){
        System.out.println("注册成功");
//        发生异常代码
//        int i = 10 / 0;
    }
}
